/**
 * Created by David on 2018/8/12.
 */
(function (factory) {
    if (typeof window.define === 'function') {
        if (window.define.amd) {
            // AMD模式
            window.define('wangEditor', ["jquery"], factory);
        } else if (window.define.cmd) {
            // CMD模式
            window.define(function (require, exports, module) {
                return factory;
            });
        } else {
            // 全局模式
            factory();
        }
    }else {
        factory()
    }

})(function () {
    var m=11;
    console.log(1111)
    return m
})